package com.house.core.exception;
/**
 *
 *
 * @author <a href="mailto:chong.sun@renren-inc.com">sun chong</a>
 * @version 2013-2-22
 */
public enum ErrorInfo {
	/** 数据库出错 */
	SqlError(10001, "sql error"), 
	
	;
	private int errorCode;
	private String errorMessage;
	private ErrorInfo(int errorCode, String errorMessage){
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}
	public int getErrorCode() {
		return errorCode;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
}
